import request from "@/utils/request";

/* 前台普通用户 列表获取 列表查询*/
export function queryListRequest(data) {
  return request({
    url: "/management-admin/databaseSysUser/queryByPage",
    method: "post",
    data,
  });
}

//禁用 启用
export function disableEnableRequest(data) {
  return request({
    url: "/management-admin/databaseSysUser/enable",
    method: "post",
    data,
  });
}

//重置密码
export function updatePasswordRequest(id) {
  return request({
    url: "/management-admin/databaseSysUser/reset?id=" + id,
    method: "get",
  });
}
